package com.learncloud.user.feign;

import com.learncloud.user.feign.fallback.UserServiceFallBackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
  * @description TODO
  * @author lbx
  * @date 2021/10/26 9:32
  * @version 1.0.0
 **/
@FeignClient(contextId = "RemoteUserService",name = "user-service",fallbackFactory = UserServiceFallBackFactory.class)
public interface RemoteUserService {

    @GetMapping(value = "/user/get")
    String get();
}
